package com.example.smartcity_ikun3.logic.util

import android.widget.ImageView
import android.widget.Toast
import com.bumptech.glide.Glide
import com.example.smartcity_ikun3.ui.App.Companion.context

object Util{
    fun String.show(){
        Toast.makeText(context, this, Toast.LENGTH_SHORT).show()
    }

    fun guide(imgUrl: String, imageView: ImageView){
        Glide.with(context).load(imgUrl).into(imageView)
    }
}